package com.ruoyi.logistic.service.impl;

import com.ruoyi.logistic.domain.NetworkPayType;
import com.ruoyi.logistic.mapper.NetworkPayTypeMapper;
import com.ruoyi.logistic.service.NetworkPayTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class NetworkPayTypeServiceImpl implements NetworkPayTypeService {
    @Autowired
    private NetworkPayTypeMapper networkPayTypeMapper;
    @Override
    public List<NetworkPayType> selectAll() {
        return networkPayTypeMapper.selectAll();
    }

    @Override
    public NetworkPayType findById(Integer id) {
        return networkPayTypeMapper.findById(id);
    }

    @Override
    public Boolean insert(NetworkPayType networkPayType) {
        return networkPayTypeMapper.insert(networkPayType);
    }

    @Override
    public Boolean update(NetworkPayType networkPayType) {
        return networkPayTypeMapper.update(networkPayType);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return networkPayTypeMapper.deleteById(id);
    }
}
